package cn.iocoder.yudao.module.hs.controller.admin.rfidchangerecord.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - RFID更换记录新增/修改 Request VO")
@Data
public class RfidChangeRecordSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "11456")
    private Long id;

    @Schema(description = "所在仓库", requiredMode = Schema.RequiredMode.REQUIRED, example = "24209")
    private Long warehouseId;

    @Schema(description = "原RFID编码")
    @NotNull(message = "原RFID编码不能为空")
    private String oldRfidCode;

    @Schema(description = "新RFID编码")
    private String newRfidCode;

    @Schema(description = "更换原因", example = "")
    private String changeReason;

    @Schema(description = "更换状态", example = "2")
    private Integer changeStatus;

    @Schema(description = "更换时间")
    private LocalDateTime changeTime;

    @Schema(description = "更换人ID", example = "6088")
    private Long changeUserId;

    @Schema(description = "更换人", example = "芋艿")
    private String changeUserName;

    @Schema(description = "分派人ID", example = "4794")
    private Long assignUserId;

    @Schema(description = "分派人", example = "王五")
    private String assignUserName;

}